package com.coderg.gmall.user;

import com.coderg.gmall.model.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "service-user", path = "/api/user")
public interface UserAddressFeign {

    /**
     * 获取用户地址
     *
     * @param
     * @return
     */
    @GetMapping("/findUserAddressListByUserId")
    public List<UserAddress> findUserAddressListByUserId();
}
